

 

  @product($productList typeid=4,2 length=5 desclength=10 adorn=*** page=2)
    
	<p>{{ $productListloop->index}}--{{$productList->title}}<Br>
	 --{{$productList->description}}</p><Br>
  
  @endproduct
  总数：{{$productListCount}}
{{$productListpage->links()}}

<?php
die;
echo 'dddd';

?>
<hr>
  @cases($cases    typeid=76     length=5    desclength=10    adorn=*** rows=1 page=2)
    
	<p>{{ $casesloop->index}}--{{$cases->title}}<Br>
	 --{{$cases->description}}</p><Br>
  
  @endcases
  总数：{{$casesCount}}
{{$casespage->links()}}


<hr>
  @article($article    typeid=76     length=5    desclength=10    adorn=*** rows=1 page=2)
    
	<p>{{ $articleoop->index}}--{{$article->title}}<Br>
	 --{{$article->description}}</p><Br>
  
  @endarticle
  总数：{{$articleCount}}
{{$articlepage->links()}}


<?php
die;
echo 'dddd';

?>


@ggg
<br>


@abc









<br>
@ff
<br>

@admin
<br>
@theme

<hr>



@dds

<hr>
@pang

<br>
@aaaa

<br>
@baidu

<br>
appname:
@appname



<br>

@php

die;

@endphp


@nav($item group=0)
<li><a href="{{$item->link}}">{{$item->name}}</a><Br>
   @nav($nav group=$item->child) 
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 <ol @if($navloop->first) style="color:#F80000" @endif @if($navloop->last) style="color:blue" @endif>{{$nav->name}}</ol>
	 <div style="display:none">变量+loop:比如转入$nav,则 $navloop,
	 {{ $navloop->index }}:从0开始； 
	 {{ $navloop->iteration }}:从1开始
	 {{ $navloop->first }}:是否为第一个
	 {{ $navloop->last }}:是否为后一个，返回 false 这里测试 返回0
	 {{ $navloop->remaining }}:剩余个数
	 {{ $navCount }}:总记录数：变量名+Count,本次foreach 总数
	 以上兼容所有标签库
	 </div>
   @endnav
</li>
@endnav



{{--

<br>


@adv($adv group=1)
  @if($adv)
	<li>
	  <a href="{{ $adv->urls }}" title="{{ $adv->title }}" style="background-image:url({{ $adv->thumb }})"
		target="_blank"></a>
	  <a href="###" class="lunbobutton">联系我们</a>
	</li>
  @endif
@endadv
		
		<hr>

@cases($cases orderby=date rows=10)

&nbsp;&nbsp;&nbsp;---{{ $cases->id }} - {{ $cases->title }}**{{ $cases->son }}<br>

@endcases










@channel($column group=2 rows=5)

{{$column->son}}<Br>
 
@product($product,$page typeid=$column->son orderby=date)

&nbsp;&nbsp;&nbsp;--{{ $product->id }} - {{ $product->title }}**{{ $column->son }}<br>

@endproduct
@endchannel

@php

die;

@endphp
--}}


{{--

	@article($reslut typeid=19 rows=10 orderby=date) 
    &nbsp;-- {{ $reslut->title }}
	@endarticle
	
	<hr>








@channel($column group=2 rows=5)

{{$column->son}}<Br>
 
@product($product,$page typeid=$column->son orderby=date)

&nbsp;&nbsp;&nbsp;--{{ $product->id }} - {{ $product->title }}**{{ $column->son }}<br>

@endproduct



@endchannel
<hr>

@channel($caseColumn group=8 rows=5)

{{$caseColumn->son}}<Br>
 
@cases($cases,$page typeid=$caseColumn->son orderby=date)

&nbsp;&nbsp;&nbsp;--{{ $cases->id }} - {{ $cases->title }}**{{ $caseColumn->son }}<br>

@endcases



@endchannel

<hr>
 




<hr>
 

@article($article typeid=19 rows=10 orderby=date page=10)

 {{ $article->title }} ** ** {{ $article->created_at}} <br>

@endarticle


<hr>


@adv($adv group=1 rows=10 orderby=rand page=10)

 {{ $adv->title }}  ** {{ $adv->description}} <br>

@endadv
 
@cases($cases typeid=$ids orderby=date rows=8 page=1)

{{ $cases->title }}**{{ $cases->created_at }}<br>

@endcases

导航标签：<Br><hr>
group:0表示取出一级导航菜单<Br>
$nav:一级导航菜单变量,变量名称：自行定义<br>
$second:可选参数：二级导航菜单;<br>


@nav($nav,$second group=0)

       {{ $nav->name }}<br>
		@nav($snav group=$nav->son)
	     ---- {{ $snav->name }}   <br>
        @endnav

@endnav




--}}



















